/**
 * cn.ucox.web.application.filter.UnknownErrorFilter
 *
 * @author chenw
 * @create 16/3/17.23:16
 * @email javacspring@hotmail.com
 */

package cn.com.oceansoft.application.filter;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author chenw
 * @create 16/3/17 23:16
 * @email javacspring@gmail.com
 */
public class UnknownErrorFilter implements Filter {

    @Override
    public void init(FilterConfig filterConfig) throws ServletException {
        System.out.println("init");
    }

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("servletResponse" + servletResponse);
    }

    @Override
    public void destroy() {
        System.out.println("destroy");
    }
}
